package com.huiyeji.dynamic.core.parser;

import com.huiyeji.dynamic.core.DynamicContext;
import com.huiyeji.dynamic.core.DynamicStatement;
import com.huiyeji.dynamic.core.RegexContainer;
import com.huiyeji.sort.Matchable;
import com.huiyeji.sort.Sortable;

/**
 * @author Huiyeji
 */
public interface DynamicParser extends Matchable<RegexContainer>, Sortable {

    DynamicStatement parse(DynamicContext context, String statement);
}
